package com.yunshan.mp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunshan.common.annotation.Excel;
import com.yunshan.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 意见反馈对象 wechat_feedback
 *
 * @author yunshan
 * @date 2025-04-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WechatFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 反馈人姓名 */
    @Excel(name = "反馈人姓名")
    private String name;

    /** 反馈人手机号 */
    @Excel(name = "反馈人手机号")
    private String phone;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String problemType;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problemDescription;

    /** 图片 */
    @Excel(name = "图片")
    private String pic;

    /** 0 未解决 1已解决 */
    @Excel(name = "0 未解决 1已解决")
    private Long status;

    /** 是否删除0:未删除,1:删除 */
    private Long isDeleted;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
